<!DOCTYPE html>
<meta charset="UTF-8">
<title>锤子博客</title>
<meta name="viewport" content="user-scalable=no,width=device-width">

<link rel="stylesheet" href="static/css/index.css">

<div class="side">
	<header>
		<h1><a href="#/home">锤子博客</a></h1>
	</header>
	<div class="posts"></div>
	<footer>
		<p>🔨博客，基于锤子便签的博客程序。</p>
	</footer>
</div>
<div class="article-box"></div>

<script>
suffix='suffix';

!function(url,Stor,D,W){
    var 
    loadScript=function(url){
        var 
        script=D.createElement('script');
        script.setAttribute('src',url);
        D.body.appendChild(script);
    },
    evalScript=function(code){
        setTimeout(function(){
            W.eval(code);
        },1);
    };


    if(Stor){
        if(
            Stor.build
            &&
            Stor.suffix==suffix
        ){
            evalScript(Stor.build);
        }else{
            var 
            x=new XMLHttpRequest();
            x.open('GET',url,1);
            x.onload=function(){
                var 
                r=x.responseText;

                if(!r || !r.match(/^var/)){
                    return loadScript(url);
                }
                
                Stor.build=r;

                evalScript(Stor.build);

                Stor.suffix=suffix;
            }
            x.send();
        }
    }else{
        loadScript(url);
    }

}('static/js/build.js?_r='+suffix,this.localStorage,document,this);
</script>